#while循环
#while(condition)
#....
#...
#endwhile(condition)
set(condition 1)

#while 循环
while(condition LESS 5)
    message(STATUS "condition" ${condition})
    set(condition 10)
endwhile(condition LESS 5)


# cmake -P while.cmake